package cn.liuhuan1.blogsModel.dao;

import cn.liuhuan1.webModelBean.bo.SlideshowBo;
import cn.liuhuan1.webModelBean.bo.WebListBo;
import cn.liuhuan1.webModelBean.vo.SlideshowVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SlideshowDao {
    public List<SlideshowVo> getSlideshow();

    void delSlideShow(String id);

    void saveSlideShow(SlideshowBo slideshowBo);


    void updateSlideShow(SlideshowBo slideshowBo);


    SlideshowVo getSlideShowById(String id);

    List<SlideshowVo> getPageSlideShow(SlideshowBo slideshowBo);

    int getPageCount(SlideshowBo slideshowBo);
}
